from django.shortcuts import render_to_response
from django.template import RequestContext
from gironimo.category.models import Category


def detail(request, slug):
    pass

def index(request):
    categories = Category.objects.all().order_by('name')
    return render_to_response('category/index.html', {
    'categories': categories,}, context_instance=RequestContext(request))

